class GoodsListModel {
  GoodsListModel({
    this.id,
    this.goodsName,
    this.goodsCode,
    this.goodsPrice,
    this.goodsQty
  });

  GoodsListModel.fromJson(dynamic json) {
    id = json['id'];
    goodsName = json['goodsName'];
    goodsCode = json['goodsCode'];
    goodsPrice = json['goodsPrice'];
    goodsQty = json['goodsQty'];
  }
  int? id;
  String? goodsName;
  String? goodsCode;
  num? goodsPrice;
  int? goodsQty;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['goodsName'] = goodsName;
    map['goodsCode'] = goodsCode;
    map['goodsPrice'] = goodsPrice;
    map['goodsQty'] = goodsQty;
    return map;
  }

}